Platform Explorer / Nuxeo Platform 2021.7

Extension point automaticLOD

Documentation

Extension point to contribute default level of details launched after the creation or modification of a 3D document

  • rendition: true if this render view should be exposed as a rendition, false otherwise.
  • renditionVisible: equivalent of the 'visible' attribute on a rendition definition, true if this render view conversion is a rendition and should be visible in the UI, false otherwise
  • percPoly: percentage of polygons remaining
  • maxPoly: maximum number of polygons remaining
  • percTex: percentage of original texture size
  • maxText: maximum size of textures (eg: '640x640')

Contribution Descriptors

  • Class: org.nuxeo.ecm.platform.threed.service.AutomaticLOD

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-platform-3d-2021.7.15.jar /OSGI-INF/threed-service-contrib.xml
    <extension point="automaticLOD" target="org.nuxeo.ecm.platform.threed.service.ThreeDService">
    
        <automaticLOD enabled="true" maxPoly="1000000" maxTex="5000x5000" name="FullWithinReason" order="0" percPoly="100" percTex="100" rendition="true" renditionVisible="true"/>
        <automaticLOD enabled="true" maxPoly="1000000" maxTex="5000x5000" name="HalfTextures" order="1" percPoly="100" percTex="50" rendition="true" renditionVisible="true"/>
        <automaticLOD enabled="true" maxPoly="1000000" maxTex="5000x5000" name="10PercTextures" order="2" percPoly="100" percTex="10" rendition="true" renditionVisible="true"/>
        <automaticLOD enabled="true" maxPoly="1000000" maxTex="50x50" name="50x50Texture" order="3" percPoly="100" percTex="100" rendition="true" renditionVisible="true"/>
        <automaticLOD enabled="true" maxPoly="1000000" name="HalfPolygon" order="4" percPoly="50" rendition="true" renditionVisible="true"/>
    
      </extension>